<template>
  <div>
    <SonForm ref="SonForm"></SonForm>

    <button @click="submit">点击提交</button>
  </div>
</template>
 
<script>
  import SonForm from './components/SonForm.vue'
export default {
  components: {
    SonForm
  },
  methods: {
    submit(){
      this.$refs.SonForm.sonSubmit()
    }
  }
}
</script>

<style scoped>
</style>